package com.train.trainmanage.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.train.trainmanage.model.StationModel;

@Mapper
public interface StationModelMapper {
    int deleteByPrimaryKey(Integer stationId);

    int insert(StationModel record);

    int insertSelective(StationModel record);

    StationModel selectByPrimaryKey(Integer stationId);

    int updateByPrimaryKeySelective(StationModel record);

    int updateByPrimaryKey(StationModel record);
    
    List<StationModel> listAllStation();
    
    StationModel selectByName(String stationName);
}